package com.oragraph;

import java.awt.Container;

import javax.swing.JFrame;

import com.oragraph.data.Registrator;
import com.oragraph.gui.MainFrame;


public class Main {
	
	public static void main(String args[]) {
		try {
			Registrator.register();
			MainFrame frame=new MainFrame("OraGraph Trial 2");
			frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			frame.pack();
			frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
			frame.setVisible(true);
		}
		catch (Exception e) {
			// TODO
			e.printStackTrace();
		}
	}

}
